package com.cdp.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdp.common.core.domain.entity.SysUserFeedback;
import com.cdp.system.dto.UserFeedbackDTO;
import com.cdp.system.mapper.SysUserFeedbackMapper;
import com.cdp.system.service.ISysUserFeedbackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户反馈服务实现类
 */
@Service
public class SysUserFeedbackServiceImpl extends ServiceImpl<SysUserFeedbackMapper, SysUserFeedback> implements ISysUserFeedbackService {
    @Autowired
    private  SysUserFeedbackMapper sysUserFeedbackMapper;


    @Override
    public List<SysUserFeedback> queryUserFeedback(UserFeedbackDTO userFeedbackDTO) {
        return sysUserFeedbackMapper.queryUserFeedback(userFeedbackDTO);
    }

    @Override
    public List<SysUserFeedback> queryUserFeedbackByUserId(UserFeedbackDTO userFeedbackDTO) {
        return sysUserFeedbackMapper.queryUserFeedbackByUserId(userFeedbackDTO);
    }


}
